package com.alex.core.domain.device;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author cb
 * @date 2019/12/19 14:36
 */
@Data
@ToString
public class DeviceStationDTO implements Serializable {
    @ApiModelProperty(value = "编号")
    private Integer id;

    @ApiModelProperty(value = "站点名称")
    private String name;

    @ApiModelProperty(value = "设备数量")
    private Integer deviceNumber;

    @ApiModelProperty(value = "所属商户")
    private Integer tenantId;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系人手机号")
    private String contactMobile;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "县/区")
    private String district;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "电费每度")
    private Integer powerRate;

    @ApiModelProperty(value = "消耗电量")
    private BigDecimal power;

    @ApiModelProperty(value = "场地费")
    @TableField(strategy = FieldStrategy.IGNORED)
    private Integer siteUseFee;

}
